package com.kasax.hinetwork;

public interface IHttpProcessor {

    <T> HttpResponse<T> get(HttpRequest request);

    <T> void getAsync(HttpRequest httpRequest, AsyncCallback<HttpResponse<T>> callback);

    <T> HttpResponse<T> post(HttpRequest request);

    <T> void postAsync(HttpRequest httpRequest, AsyncCallback<HttpResponse<T>> callback);
}
